@layout("/common/_container.html",{js:["/assets/modular/system/project/projectZJ.js"]}){
<link rel="stylesheet" href="${ctxPath}/assets/common/css/project.css?v=${constants.getReleaseVersion()}" media="all">
<div class="layui-body-header">
    <span class="layui-body-header-title">工程流程图表</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
<!--                                <label class="layui-form-label">工程名称</label>-->
                                <div class="layui-inline w110" style="display: inline-block">
                                <input id="condition" class="layui-input" type="text" placeholder="请输入工程名称"/>
                                </div>
                            </div>
                            <div class="layui-inline">
<!--                                <label class="layui-form-label">营运经理</label>-->
                                <div class="layui-inline w110" style="display: inline-block">
                                    <select id="yyjl">
                                        <option value="">全部营运经理</option>
                                    </select>
<!--                                <input id="yyjl" class="layui-input" type="text" placeholder="营运经理"/>-->
                                </div>
                            </div>
                            <div class="layui-inline">
<!--                                <label class="layui-form-label">开业时间</label>-->
                                <div class="layui-inline w160" style="display: inline-block">
                                    <input id="timeLimit" class="layui-input" type="text" autocomplete="off" placeholder="请选择开业时间"/>
                                </div>
                            </div>
<!--                            <div class="layui-inline">-->
<!--                                <span> 是否确认开业时间:</span>-->
<!--                                <div class="layui-inline" style="display: inline-block;width: 140px;">-->
<!--                                    <select name="openYn" lay-filter="openYn" id="openYn"-->
<!--                                            lay-search="openYn">-->
<!--                                        <option value="">请选择</option>-->
<!--                                        <option value="Y">已确认</option>-->
<!--                                        <option value="N">未确认</option>-->
<!--                                    </select>-->
<!--                                </div>-->
<!--                            </div>-->
<!--                            <div class="layui-inline" >-->
<!--                                <span> 工程是否终止:</span>-->
<!--                                <div class="layui-inline" style="display: inline-block;width: 140px;">-->
<!--                                    <select name="endYn" lay-filter="endYn" id="endYn"-->
<!--                                            lay-search="endYn">-->
<!--                                        <option value="">请选择</option>-->
<!--                                        <option value="Y">已终止</option>-->
<!--                                        <option value="N">未终止</option>-->
<!--                                    </select>-->
<!--                                </div>-->
<!--                            </div>-->
<!--                            <div class="layui-inline">-->
<!--                                <span> 收银账号:</span>-->
<!--                                <div class="layui-inline" style="display: inline-block;width: 140px;">-->
<!--                                    <select name="cashierAccountYn" lay-filter="cashierAccountYn" id="cashierAccountYn"-->
<!--                                            lay-search="cashierAccountYn">-->
<!--                                        <option value="">请选择</option>-->
<!--                                        <option value="Y">已建</option>-->
<!--                                        <option value="N">未建</option>-->
<!--                                    </select>-->
<!--                                </div>-->
<!--                            </div>-->
                            <div class="layui-inline">
                                <!--                                    <label class="layui-form-label">工程状态</label>-->
                                <div class="layui-inline w110">
                                    <select name="status" lay-filter="status" id="status"
                                            lay-search="status">
                                        <option value="">全部工程状态</option>
                                        <option value="1">新建中</option>
                                        <option value="2">审批中</option>
                                        <option value="3">对接中</option>
                                        <option value="4">装修中</option>
                                        <option value="5">筹备中</option>
                                        <option value="6">已开业</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn">
<!--                                    <i class="layui-icon">&#xe615;</i>-->
                                    搜索</button>
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="taskFlowTable" lay-filter="taskFlowTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script id="kfzjTpl" type="text/html">
    {{#  if(d.kfzj == "开发总监已确认"){ }}
    {{d.kfzjName}}
    {{#  }else{ }}
    {{d.kfzj}}
    {{#  } }}
</script>
<script id="gczjTpl" type="text/html">
    {{#  if(d.gczj == "工程总监已确认"){ }}
    {{d.gczjName}}
    {{#  }else{ }}
    {{d.gczj}}
    {{#  } }}
</script>
<script id="yyzjTpl" type="text/html">
    {{#  if(d.yyzj == "营运总监已确认"){ }}
    {{d.yyzjName}}
    {{#  }else{ }}
    {{d.yyzj}}
    {{#  } }}
</script>
<script id="statusTpl1" type="text/html">
    {{#  if(d.allotYy == "已指定营运经理"){ }}
    {{d.yyjlname}}
    {{#  }else{ }}
    尚未指定营运经理
    {{d.allotYy}}
    {{#  } }}
</script>
<script id="statusTpl2" type="text/html">
    {{#  if(d.allotDd == "已指定督导"){ }}
    {{d.ddname}}
    {{#  }else{ }}
    {{d.allotDd}}
    {{#  } }}
</script>
<script id="statusTpl3" type="text/html">
    {{#  if(d.openDate == ""){ }}
    未开业
    {{#  }else{ }}
    已开业
    {{#  } }}
</script>

<script id="statusTpl4" type="text/html">
    {{#  if(d.openDate == ""){ }}
    未开业
    {{#  }else{ }}
    {{layui.util.toDateString(d.openDate, 'yyyy-MM-dd')|| ''}}
    {{#  } }}
</script>

@}
